package com.vhall.component.entity.lottery.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 领奖信息更新 请求vo
 *
 * @author zhangtao
 */
@Data
public class LotteryAwardReqVO {

    /**
     * 抽奖ID
     */
    @ParamName("lottery_id")
    @JsonProperty("lottery_id")
    @NotNull(message = "抽奖ID不能为空")
    private Integer lotteryId;

    @ParamName("room_id")
    @JsonProperty("room_id")
    @NotBlank(message = "房间ID不能为空")
    private String roomId;

    /**
     * 领奖人姓名
     */
    @ParamName("lottery_user_name")
    @JsonProperty("lottery_user_name")
    @NotBlank(message = "领奖人姓名不能为空")
    private String lotteryUserName;

    /**
     * 领奖人手机号
     */
    @ParamName("lottery_user_phone")
    @JsonProperty("lottery_user_phone")
    @NotBlank(message = "领奖人手机号不能为空")
    private String lotteryUserPhone;

    /**
     * 领奖备注，用于填写奖品邮件地址等信息
     */
    @ParamName("lottery_user_remark")
    @JsonProperty("lottery_user_remark")
    private String lotteryUserRemark;


    @ParamName("vss_token")
    private String vssToken;

}
